package cn.tedu.eguser1.base.response;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Getter;
import org.springframework.web.bind.MethodArgumentNotValidException;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatesCode{
    OPERATION_SUCCESS(2000, "操作成功"),
    OPERATION_FAILED(2001, "操作失败"),
    MethodArgumentNotValidException(2002, "参数验证失败");
    private Integer code;
    private String message;
}
